<template>
  <view class="content">
    <view v-for="(item, index) in dataList" :key="index">
      <text>{{ item.systemName }}</text>
      <text>----{{ item.systemCode }}</text>
    </view>
    <view>
      <van-button type="warning">我是按钮</van-button>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      dataList: []
    };
  },
  onLoad() {},
  onShow() {
    this.$api
      .findAuthAppAllList()
      .then(res => {
        // 获得数据
        if (res.data.retcode === 1) {
          this.dataList = res.data.data;
        }
      })
      .catch(res => {
        console.log(res);
      });
  },
  methods: {}
};
</script>

<style>
.content {
  text-align: center;
  height: 400px;
}

.logo {
  height: 200px;
  width: 200px;
  margin-top: 200px;
}

.title {
  font-size: 50px;
  color: #8f8f94;
}
</style>
